/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/6 14:19
 * @Copyright 博为峰
 */
public class Demo03 {
    public static void main(String[] args) {
        //算术运算符 + - * / % ++ --

        int a = 1024;
        a = a / 1000 * 1000;
//        System.out.println("a = " + a);

        //+ 连接符
//        System.out.println("1" + 2);

        //++ 在原来数据的基础上+1，再赋值给原来的变量

//        int b = 6;
//        b++;
//        ++b;
//        System.out.println("b = " + b);

//        int c = b++;
//        int c = ++b;
//        System.out.println("c = " + c);
//        System.out.println("b = " + b);

        int d = 3;
//        int e = d++ + ++d + d++ + d;
        //       3     5     5    6
//        System.out.println("e = " + e);
//        System.out.println("d = " + d);
//        System.out.println(d++ + 0);
//        System.out.println(++d + 0);
//        System.out.println(d++ + 0);
//        System.out.println(d);

        d = d++;

    }
}
